package com.lpwa.system.domain;


import com.lpwa.common.annotation.Excel;
import com.lpwa.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 基站表 sys_locator
 * 
 * @author tanmu
 * @date 2019-06-10
 */
public class Locator extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	private Integer id;
	/** 基站ID */
	@Excel(name = "基站ID")
	private String locatorId;
	/** 设备名称 */
	@Excel(name = "设备名称")
	private String locatorName;
	/** MAC */
	@Excel(name = "MAC")
	private String mac;
	/** 所属组织 */
	private String deptId;
	/** 设备类型 */
	private Long modelId;
	/** 位置信息 */
	@Excel(name = "位置信息")
	private String site;
	/** 在线情况（0离线 1在线） */
	private Integer isOnline;
	/** 是否已删除（0未删除 1删除） */
	private Integer isDeleted;
	//基站型号
	@Excel(name = "基站型号")
	private String modelNumber;
	//	基站类型名称
	@Excel(name = "设备类型")
	private String modelType;
	//组织名称
	@Excel(name = "所属组织")
	private String deptName;

	public String getModelNumber() {
		return modelNumber;
	}

	public void setModelNumber(String modelNumber) {
		this.modelNumber = modelNumber;
	}

	public String getModelType() {
		return modelType;
	}

	public void setModelType(String modelType) {
		this.modelType = modelType;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLocatorId() {
		return locatorId;
	}

	public void setLocatorId(String locatorId) {
		this.locatorId = locatorId;
	}

	public String getLocatorName() {
		return locatorName;
	}

	public void setLocatorName(String locatorName) {
		this.locatorName = locatorName;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public Long getModelId() {
		return modelId;
	}

	public void setModelId(Long modelId) {
		this.modelId = modelId;
	}

	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}

	public Integer getIsOnline() {
		return isOnline;
	}

	public void setIsOnline(Integer isOnline) {
		this.isOnline = isOnline;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("locatorId", getLocatorId())
            .append("locatorName", getLocatorName())
            .append("mac", getMac())
            .append("deptId", getDeptId())
            .append("modelId", getModelId())
            .append("site", getSite())
            .append("isOnline", getIsOnline())
            .append("isDeleted", getIsDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
				.append("modelNumber", getModelNumber())
				.append("modelType", getModelType())
            .toString();
    }
}
